//
//	Brandlist.m
//
//	Create by dllo on 9/8/2016
//	Copyright © 2016. All rights reserved.
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "Brandlist.h"
#import "List.h"
@implementation Brandlist
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"list"]) {
        NSMutableArray<List *> *brandArray = [NSMutableArray array];
        for (NSDictionary *brandDic in value) {
            List *list = [List modelWithDic:brandDic];
            [brandArray addObject:list];
        }
        _list = brandArray;
    }
}
+ (NSDictionary *)objectClassInArray{
    return @{@"list" : [List class]};
}


@end
